package main

type Inner struct {
	Name string
}

type Outer struct {
	Name string
	Inner
}

func main() {
	outer := Outer{
		Name: "Outer",
		Inner: Inner{
			Name: "Inner",
		},
	}
	println(outer.Name) // 输出 "Outer"
}
